<?php 
require_once '../global.inc.php';
//资料完整标志（1：完整，0：不完整）
$infoOk = $_SESSION[user][info_ok];
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	overflow:hidden;
}
-->
</style></head>

<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="8" bgcolor="#353c44">&nbsp;</td>
    <td width="148" valign="top"><iframe height="100%" width="100%" border="0" frameborder="0" src="left.php" name="leftFrame" id="leftFrame" title="leftFrame"></iframe></td>
    <td width="10" bgcolor="#add2da">&nbsp;</td>
    <td valign="top">
	    <?php 
	    if ($infoOk == 0){
			echo "<script>alert('用户资料不完整，请先完善你的用户资料！');</script>";
			echo "<iframe height='100%' width='100%' border='0' frameborder='0' src='../action/userAction.php?op=get&id=$userId' name='rightFrame' id='rightFrame' title='rightFrame'></iframe>";
		}else{
			echo "<iframe height='100%' width='100%' border='0' frameborder='0' src='right.php' name='rightFrame' id='rightFrame' title='rightFrame'></iframe>";
		}
		?>
    </td>
    <td width="8" bgcolor="#353c44">&nbsp;</td>
  </tr>
</table>
</body>
</html>
